<?php

/*

  Action	$4

  +3 Cards.

 */

class Smithy extends Card implements iAction, iKingdom, iBasic {

    public function __construct() {
        parent::__construct("Smithy", 4);
        $this->undoPlay = false;
        $this->undoBuy = true;
    }

    public function getDescription() {
        return array(
            "+3 cards");
    }
    
    
    public function play(Game $game, $isRealCard) {
        $drawed_cards = $game->drawCards(3);
         ScreenDisplay::addScreenMessage($game, true, "draw  " . nicePrint($drawed_cards), "draws ".sizeof($drawed_cards)." cards");
        $game->cardActionFinished();
        return true;
    }

}

?>